<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<link href="<s:url value="/images/08_ccxxzx.css"/>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<s:url value="/script/sysOper.js"/>"></script>
<%@ include file="/commons/include/list_page.inc"%>  
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="980" border="0" cellspacing="0" cellpadding="0"
	align="center">
	<tr>
		<td>
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			background="<s:url value="/images/new/gxzl_index_2.gif"/>">
			<tr>
				<td width="20" height="32">&nbsp;</td>
				<td width="20"><img
					src="<s:url value="/images/new/dq_dot.gif"/>" width="15"
					height="12" /></td>
				<td><font color="#FFFFFF">当前位置：系统管理&gt;&gt;权限管理&gt;&gt;用户管理</font></td>
				<td></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td background="<s:url value="/images/home_4a.gif"/>">
		<table width="100%" border="0" cellspacing="0" cellpadding="0"
			align="center" bgcolor="#FFFFFF">
			<tr>
				<td width="240" valign="top" class="leftbg">
		 		 <%@ include file="/commons/include/secu_left.inc"%>  
				</td>
				<td valign="top"  align="center">
				<s:form action="/security/listUser.action"
					method="post">
					<table width=98% border="0" cellspacing="0" cellpadding="0">
						<br>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
										<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td class=tdborderleftright>
			                <TABLE width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class=tablecolor2>           
			                    <tr> 
			                    <td width="15%" height="50"> 
			                      <div align="center"><a href="shareinfo.html" target="_blank">用户ID</a> </div>                      </td>
			                    <td width="35%"><input name="conds.userID" type="text" value="${conds.userID}" size="30"/></td>
			                    <td width="16%"> 
			                      <div align="center">人员</div>					 </td>
			                    <td width="34%"><input name="conds.person" type="text" value="${conds.person}" size="30"/></td>
			                    </tr>
							</TABLE>
							<TABLE width="98%" cellSpacing=1 cellPadding=0 align="center">
								<TR height=30>
									<TD align=left width="10%">
				                      <input type="button" name="new" value="新 增" onClick="location.href='editUser.action'">
				                      <input type="button" name="search" onclick="submit();"  value="查 询">
				                      <input type="button" name="remove" onclick="forms[0].action='batchDelUser.action';forms[0].submit();" value="删 除">
									</TD>
								</TR>
							</table>
							<input type="hidden" name="pageControl.usePage" value="${pageControl.usePage}"/>
							<input type="hidden" name="pageControl.pageNo" value="${pageControl.pageNo}"/>
							<input type="hidden" name="pageControl.totalPage" value="${pageControl.totalPage}"/>
							<input type="hidden" name="pageControl.pageSize" value="${pageControl.pageSize}"/>
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2>
								<tr>
									<td colspan="9" align="right">
									<s:if test="pageControl.useFrontPage">
										<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
									</s:if>	
									<s:if test="pageControl.useNextPage">								
   									<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
									</s:if>
							    	第${pageControl.pageNo}页  共${pageControl.totalPage}页  总${pageControl.total}条记录 每页${pageControl.pageSize}条记录</td>
								</tr>
								<tr>
									<td bgcolor="9AC2EB" width="10%">
									<div align="center"><font color="#FFFFFF">选择<label
										id="labSel" onclick="javascript:selAll('dCancel','dAll','ids');" style="cursor:hand">
										<div id="dAll">[全选]</div><div id="dCancel" style="display:none">[取消]</div></label></font></div>
									</td>
									<td bgcolor="9AC2EB" width="10%">
									<div align="center"><font color="#FFFFFF">用户ID </font></div>
									</td>
									<td bgcolor="9AC2EB" width="10%">
									<div align="center"><font color="#FFFFFF">人员</font></div>
									</td>
									<td bgcolor="9AC2EB" width="10%">
									<div align="center"><font color="#FFFFFF">同步码</font></div>
									</td>
									<td bgcolor="9AC2EB" width="10%">
									<div align="center"><font color="#FFFFFF">是否有效</font></div>
									</td>
									<td bgcolor="9AC2EB" width="14%">
									<div align="center"><font color="#FFFFFF">最后一次登录时间</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="12%">
									<div align="center"><font color="#FFFFFF">上次更新时间</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="12%">
									<div align="center"><font color="#FFFFFF">最近修改时间</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="12%">
									<div align="center"><font color="#FFFFFF">操作</font>
									</div>
									</td>
								</tr>
							<s:iterator value="pageControl.results">
								<tr>
									<td >
									<div align="center"><input type="checkbox"
										name="ids" value="<s:property value="id" />"></div>
									</td>
									<td>
									<div align="center"><s:property value="userID" /></div>
									</td>
									<td>
									<div align="center"><s:property value="person.name" /></div>
									</td>
									<td>
									<div align="center"><s:property value="sysnCode" /></div>
									</td>
									<td>
									<div align="center"><s:property value="isValid.name"/></div>
									</td>
									<td>
									<div align="center"><s:date name="lastLoginTime" format="yyyy-MM-dd" /></div>
									</td>
									<td>
									<div align="center"><s:date name="lastModifyTime" format="yyyy-MM-dd" /></div>
									</td>
									<td>
									<div align="center"><s:date name="lastUpdateTime" format="yyyy-MM-dd" /></div>
									</td>
									<td>
									<div align="center">
										<a href="editUser.action?user.id=${id}">编辑</a>
										<a href="delUser.action?user.id=${id}">删除</a>
										<a href="authRole.action?roleRelaUser.user.id=${id}">赋权</a>
									</div>
									</td>
								</tr>
							</s:iterator>
								<tr>
									<td colspan="9" align="right">
									<s:if test="pageControl.useFrontPage">
										<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
									</s:if>	
									<s:if test="pageControl.useNextPage">								
   									<a href="#" onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
									</s:if>
									 第${pageControl.pageNo}页  共${pageControl.totalPage}页  总${pageControl.total}条记录 每页${pageControl.pageSize}条记录</td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
										<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</s:form> 
				</td>
			</tr>
		</table>
</body>
</html>

